
<div id="login-info" class="span-24 last">
<?php if (isset($userinfo)) : ?>
	<h5>Logged in as: <?php echo $userinfo['username']; ?> | Role: <?php echo $userinfo['role']; ?> | <?php echo anchor('home/logout', 'Logout')?></h5>
<?php else : ?>
	<h5><?php echo anchor('home/index', 'Login'); ?></h5>
<?php endif; ?>
</div>
<ul id="navigation">
<?php foreach ($anchors as $anchor) : ?>
	<li><?php echo anchor($anchor['link'], $anchor['title']); ?></li>
<?php endforeach; ?>
</ul>
